package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.FxddBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface FxddService extends BaseService<FxddBean> {

	FxddBean getFxddBeanById(String id) throws Exception;
	
	void removeFxddBeanById(String id) throws Exception;
	
	void removeFxddBeanByIds(String ids) throws Exception;
	
	FxddBean saveFxddBean(FxddBean crm) throws Exception;
	
	FxddBean updateFxddBean(FxddBean crm) throws Exception;
	
	Page<FxddBean>  findFxddBeanByCond(FxddBean bean,
			Page<FxddBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveFxddBeanExt(String sql) throws Exception;

	String findFxddBeanExtCreate(String tableName) throws Exception;

	String findFxddBeanExtEdit(String tableName, String id)
			throws Exception;

	String findFxddBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasFxddBeanExtData(String tableName, String id)
			throws Exception;
}